package cn.project.lemontree.service;

import cn.project.lemontree.bean.Diary;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface DiaryService extends IService<Diary> {
    List<Diary> listpage(int page,int size,String theme);
    int count(String theme);
    boolean saveDiary(Diary diary);
    boolean update(Diary diary);
    List<Diary> newListpage(int page,int size,String theme,Integer parentId);
    int newCount(String theme,Integer parentId);
}
